﻿
Public Interface IImageMediaFile
    Inherits IMediaFile

    ''' <summary>
    ''' A Thumbnail Representation of the Image
    ''' </summary>
    ''' <param name="Height">Height of the Thumbnail in Pixels</param>
    ''' <param name="Width">Width of the Thumbnail in Pixels</param>
    ReadOnly Property Thumbnail(Optional ByVal Height As Integer = -1, Optional ByVal width As Integer = -1) As IImageMediaFile
    ReadOnly Property Dimensions() As ImageDimensions

    ''' <summary>
    ''' Resizes the Image to the specified Height and Width
    ''' </summary>
    ''' <param name="Height">Height to resize to in pixels</param>
    ''' <param name="Width">Width to resize to in pixels</param>
    ''' <param name="MaintainAspectRatio">Specifies if the resize should maintain aspect ratio</param>
    Sub Resize(ByVal Height As Integer, ByVal Width As Integer, Optional ByVal MaintainAspectRatio As Boolean = True)


End Interface
